package main

import (
	"fmt"
	"time"
)

func main(){
	defer func(){
		if err:=recover();err!=nil{
			fmt.Println("main:","hello world")
		}
	}()
	go func(){
		time.Sleep(time.Second*10)
		panic("服务崩溃")
	}()
	select {

	}
}